package com.example.vue_shop.components.user.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author lipengwei
 */
@Data
@ApiModel(value = "User", description = "用户信息")
public class User {
    @ApiModelProperty(value = "ID", name = "id", example = "1", dataType =
            "int", hidden = true)
    private int id;
    @ApiModelProperty(value = "用户名", name = "username", example = "zs",
            dataType = "String" )
    private String username;
    @ApiModelProperty(value = "密码", name = "password", example = "123456",
            dataType = "String" )
    private String password;
    @ApiModelProperty(value = "状态", name = "userStatus", example = "0",
            dataType = "int", hidden = true )
    private int userStatus = 0;
}
